home *** CD-ROM | disk | FTP | other *** search
- ╔════════════════════════════════════════════════════════════════════════╗
- ║ This is the complete commercial package. It is being distributed ║
- ║ electronically in order to address the rising demand for CCS software ║
- ║ products. By distributing it in this manner, we avoid the handling ║
- ║ involved in distribution by mail, advertising, and so on, and reduce ║
- ║ YOUR cost to the [minimal] licensing fee that is necessary in order to ║
- ║ comply with copyright laws. Licensing is, nevertheless, required. ║
- ╟────────────────────────────────────────────────────────────────────────╢
- ║ For the latest versions of CCS software, consult your local computer ║
- ║ bulletin board systems, or else log on to CompuServe, access the IBM ║
- ║ File Finder ("GO IBMFF"), and search for files with the keywords of ║
- ║ "JOAN", "RIFF", or the name of the program that you are looking for. ║
- ╟───────────────────────────────────────┬────────────────────────────────╢
- ║ COMPUTERWISE CONSULTING SERVICES │ Voice Mail: (703) 450-7175 ║
- ║ P.O. Box 813 │ Internet: bob@grebyn.com ║
- ║ McLean, VA 22101 USA │ CompuServe: 72355,362 ║
- ╚═══════════════════════════════════════╧════════════════════════════════╝
-
- Product : Joan Riff's READOBJ OBJ/LIB file dumper
- Version : 1.9 (Aug 19 1992)
- Licensing fee: $10
-
- This program dumps .OBJ and .LIB files in a human-readable format.
-
- CAVEAT: Every compiler writer seems to want to [re]define the format
- of object files. This program handles *MOST* of the known
- Microsoft and Borland DOS object records, but no attempt has
- been made to keep up with the multitudinous off-the-wall
- records which are introduced practically daily by overzealous
- compiler writers.
-
- Use: readobj [flags] filename [[flags] filename]...
-
- 'filename' the name of an .OBJ or .LIB file to be dumped.
- Wildcards are accepted in filenames.
-
- 'flags' may be preceded by '+' to turn an option ON, or by '-' to
- turn it back off.
-
- Lowercase flags identify single object file record types.
- Uppercase flags generally combine a specific function with
- a select group of record type.
-
- Flag Record Description
- ---- ------ -----------
- ±A Affects *ALL* lower-case flags (record types)
- ±B Both Block Start (BLKDEF) & Block End (BLKEND)
- ±E Externals (EXTDEF) & Publics (LOCSYM & PUBDEF)
- ±F Display filenames being processed
- ±H (all) Dump raw records in HEX
- ±L (all) Display record positions in file
- ±M Both module start (THEADR) and module end (MODEND)
- ±P Special Publics (LOCSYM & PUBDEF) report
- ±R Special Externals (EXTDEF/LOCSYM/PUBDEF) report
- ±S MODEND Special true in-memory module size report
- ±U (unknown) Handle unknown record types
- ±V Verbose output (where applicable)
- ±b BLKDEF Block start
- ±c COMENT COMENT information
- ±e EXTDEF External information
- ±f FIXUPP Fix up information
- ±g GRPDEF GROUP information
- ±i LIDATA LIDATA
- ±k BLKEND Block end
- ±l LOCSYM Locsym declarations (like PUBDEF)
- ±m THEADR Module start info
- ±n LNAMES Names
- ±o MODEND Module end info
- ±p PUBDEF Public declarations
- ±q LPUBDF Local (debugger) declarations
- ±s SEGDEF Segment information
- ±t TYPDEF Typedef information
- ±u COMDEF Communal variables
- ±v LEDATA Enumerated data
- ±w MSLIBR Library header
- ±x MSLEND Library trailer
- ±y LINNUM Line number information
-
- The following special flags may be preceded by either '-' or '+'.
- Which one is used is irrelevant. The effect is the same regardless:
-
- -1nnnn Start dumping at byte offset nnnn within the file.
- -2nnnn End dumping with byte offset nnnn within the file.
-
- With both of the above flags, nnnn may be expressed as:
-
- nnnn Interpreted as a decimal number.
- 0xnnnn Interpreted as a hexadecimal number.
- nnnnK Interpreted as a decimal number of K bytes.
-
- Example: Perhaps the most common use of this program is to display the
- *TRUE* (i.e. - in-memory) sizes of modules, which can be
- accomplished (for a given library FOO.LIB) with:
-
- readobj +SV FOO.LIB >sizes.out
-